	function hide_on_profile(field,id){
		var ajaxRequest;  // The variable that makes Ajax possible!
	
		ajaxRequest = new XMLHttpRequest();
	
		// Create a function that will receive data sent from the server
		ajaxRequest.onreadystatechange = function(){
			if(ajaxRequest.readyState == 4){
				response = ajaxRequest.responseText;
				// Refresh the page if successful
				if(response.length == 1){
					first_name = document.getElementById(id+'1');
					if(field == "birthday" || field == "phone_number"){
						for(i=1;i<4;i++){
							textbox = document.getElementById(id+i);
							if(response == 1){
								textbox.style.background = "#FFFFFF";
								textbox.style.color = "#000000";
							}else{
								textbox.style.background = "#CCCCCC";
								textbox.style.color = "#999966";	
							}
						}
					}else if(first_name){
						for(i=1;i<5;i++){
							textbox = document.getElementById(id+i);
							if(response == 1){
								textbox.style.background = "#FFFFFF";
								textbox.style.color = "#000000";
							}else{
								textbox.style.background = "#CCCCCC";
								textbox.style.color = "#999966";	
							}
						}
					}else{
						textbox = document.getElementById(id);
						if(response == 1){
							textbox.style.background = "#FFFFFF";
							textbox.style.color = "#000000";
						}else{
							textbox.style.background = "#CCCCCC";
							textbox.style.color = "#999966";	
						}
					}
				}
			}
		}
		
		var mypost = "field=" + field + "&mode=hide";
		ajaxRequest.open("POST", "handle/update_profile_ajax.php", true);
		ajaxRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
		ajaxRequest.send(mypost);
	}